<!DOCTYPE html>
<html th:fragment="layout (title, content, links, scripts)" xmlns:th="http://www.thymeleaf.org">

    <head>
        <meta charset="utf-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title th:replace="${title}">管理系统</title>
        <link rel="stylesheet" th:href="@{/assets/common/libs/layui/css/layui.css}"/>
        <link rel="stylesheet" th:href="@{/assets/common/module/admin.css}" media="all"/>
        <link rel="stylesheet" th:href="@{/assets/expand/css/style.css}" media="all"/>
        <th:block th:replace="${links}"/>
    </head>

    <body>
        <!-- 页面加载loading -->
        <th:block th:insert="pages/common/loading :: loading"/>
        <th:block th:replace="${content}"/>
        <script type="text/javascript">
            var Kong = {
                ctxPath: "[(${ctxPath})]",
                version: "[(${version})]"
            };
        </script>

        <script type="text/javascript" th:src="@{/assets/common/libs/layui/layui.js}"></script>
        <script type="text/javascript" th:src="@{/assets/common/js/common.js}"></script>
        <th:block th:replace="${scripts}"/>
    </body>
</html>